package com.treasure.web.mapstruct;

import com.treasure.infrastructure.model.po.KnowledgeDocumentVector;
import com.treasure.web.command.response.KnowledgeDocumentVectorResponse;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author sunhongmin
 * @date 2023/11/21 20:16
 * @description
 */
@Mapper
public interface KnowledgeDocumentVectorAssembler {
    KnowledgeDocumentVectorAssembler INSTANCE = Mappers.getMapper(KnowledgeDocumentVectorAssembler.class);

    KnowledgeDocumentVectorResponse convertResponse(KnowledgeDocumentVector knowledgeDocumentVector);
    List<KnowledgeDocumentVectorResponse> convertResponseList(List<KnowledgeDocumentVector> knowledgeDocumentVector);
}
